.main {
  background: #f3f3f7;
  height: 100%;
  padding: 20px 0;
}

.bg {
  position: fixed;
  pointer-events: none;
  height: calc(100vw - 44px);
  transform: translateX(-50%);
  top: 0;
  left: 50%;
  opacity: 0.3;
  z-index: 0;
}

.App {
  text-align: center;
  height: 100vh;
  background-color: #000;
  display: flex;
  align-items: center;
}

.twinkling {
  animation: twinkling 300ms infinite;
}

@keyframes twinkling {
  form {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
  to {
    opacity: 1;
  }
}

.text {
  animation: home-news 5s linear infinite;
}

@keyframes home-news {
  0% {
    transform: translate3d(100vw, 0, 0);
  }
  50% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-100vw, 0, 0);
  }
}

.App-logo {
  height: 40vmin;
  pointer-events: none;
  border-radius: 50%;
}

@media (prefers-reduced-motion: no-preference) {
  .App-logo {
    animation: App-logo-spin infinite 20s linear;
  }
}

.App-header {
  background-color: #282c34;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: calc(10px + 2vmin);
  color: white;
}

.App-link {
  color: #61dafb;
}

@keyframes App-logo-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
